package logic

import (
	"context"

	"go-exp/zero/rpc/permission/internal/svc"
	"go-exp/zero/rpc/permission/pb/permission"

	"github.com/zeromicro/go-zero/core/logx"
)

type RevokeRoleFromUserLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewRevokeRoleFromUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RevokeRoleFromUserLogic {
	return &RevokeRoleFromUserLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *RevokeRoleFromUserLogic) RevokeRoleFromUser(in *permission.RevokeRoleFromUserRequest) (*permission.OperationResponse, error) {
	// todo: add your logic here and delete this line

	return &permission.OperationResponse{}, nil
}
